package com.whut.model;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.beans.ConstructorProperties;

/**
 * @author ：xiaojun
 * @date ：Created in 2021/3/11 20:16
 * @description：获取服务器的ip地址
 * @modified By：
 * @version: $
 */
@Component
@ConfigurationProperties("url")
public class UrlProperties {


    private String address;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

}
